package il.ac.tau.cvws.scrabblesidekick.server.engine.storage;

import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ExceptionTypes;
import il.ac.tau.cvws.scrabblesidekick.server.util.exception.ScrabbleSidekickException;

/* Storage related exception.
 */
public class StorageException extends ScrabbleSidekickException
{
	private static final long serialVersionUID = 1L;
	
	public static final String INVALID_KEY = "Invalid storage key";
	
	public StorageException(String msg, Throwable cause)
	{
		super(ExceptionTypes.STORAGE, msg, cause);
	}
	
	public StorageException(String msg)
	{
		this(msg, null);
	}
}
